﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Rogue
    {
        public bool combatCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (combatPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (combatDungeonCombat())
                    return true;
            }
            else
            {
                if (combatQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool combatHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (combatPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (combatDungeonHeal())
                    return true;
            }
            else
            {
                if (combatQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool combatBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (combatPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (combatDungeonBuff())
                    return true;
            }
            else
            {
                if (combatQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool combatPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (combatPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (combatDungeonPullSpell())
                    return true;
            }
            else
            {
                if (combatQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
